package com.black.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.black.common.core.domain.entity.SysUser;
import com.black.system.domain.req.system.query.SysUserQueryReq;
import com.black.system.domain.resp.system.SysUserResp;
import com.github.pagehelper.PageInfo;

/**
 * @author L
 * @description 针对表【sys_user(用户信息表)】的数据库操作Service
 * @createDate 2024-08-19 10:07:23
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 判断部门是否存在用户
     *
     * @param deptId
     * @return
     */
    boolean checkDeptExistUser(Long deptId);

    /**
     * 分页查询
     *
     * @param req
     * @return
     */
    PageInfo<SysUserResp> paginationQuery(SysUserQueryReq req);
}
